package com.yunxin.core.customer.domain;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 标签表
 * @TableName tag_info
 */
@TableName(value ="tag_info")
@Data
public class TagInfo implements Serializable {
    /**
     * 主键
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    @Schema(description = "企业微信id")
    private Long wechatInfoId;

    /**
     * 父类id
     */
    @Schema(description = "父类id")
    private Long parentId;

    /**
     * 父级地址
     */
    @Schema(description = "父级地址")
    private String treePath;

    /**
     * 标签名
     */
    @Schema(description = "标签名")
    private String name;

    /**
     * 标签等级
     */
    @Schema(description = "标签等级")
    private Integer level;

    /**
     * 标识删除 0.存在 1.删除
     */
    @TableLogic(value = "0",delval = "1")
    private Integer isDel;

    /**
     * 创建人
     */
    private String creator;

    /**
     * 修改人
     */
    private String editor;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date editTime;

    /**
     * 版本号
     */
    private Long version;

    private Integer teamId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}